package com.cet.designpatterns.factory.simplefactory.pizzastore.pizza;

/**
 * @program: algorithm
 * @description: 新增一种披萨，使用方需要修改代码，违背了ocp
 * @author: 陈恩涛
 * @create: 2021-09-01 17:22
 **/
public class PepperPizza extends Pizza {
    @Override
    public void prepare() {
        System.out.println("给胡椒披萨准备原材料！");
    }
}
